
package me.zhengjie.service.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import me.zhengjie.annotation.Query;

/**
* @website https://el-admin.vip
* @author IQW
* @date 2022-07-13
**/
@Data
public class AppWorkConfigQueryCriteria{

    @Query(type = Query.Type.EQUAL)
    private Integer configId;

    @Query(blurry = "title")
    private String blurry;

    @Query(type = Query.Type.EQUAL)
    private String label;


    //我小于值
    @Query(type = Query.Type.LESS_THAN)
    private Timestamp startTime;

    //我大于值
    @Query(type = Query.Type.GREATER_THAN)
    private Timestamp endTime;

    //以开始时间查询
    @Query(type = Query.Type.BETWEEN,propName = "startTime" )
    private List<Timestamp> startTimes;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;

    @Query(type = Query.Type.EQUAL)
    private Integer status;

    @Query(type = Query.Type.EQUAL)
    private Integer areaId;



}